/* Example of for loop containing a continue statement */
/* Sum even numbers between O and 9 */

long sum_even(long n) {
  long sum = 0;
  for (long i = 0; i < n; i++) {
    if (i & 1)
      continue;
    sum += i;
  }
  return sum;
}
/*
gcc -Og -S s6.sum_even.c
*/